package com.jwm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.core.env.Environment;

import java.net.UnknownHostException;

/**
 * @author 崔洁
 */
@SpringBootApplication
public class JwmApplication {
    public static void main(String[] args) throws UnknownHostException {
        ConfigurableApplicationContext application = SpringApplication.run(JwmApplication.class, args);
        Environment env = application.getEnvironment();
        System.out.println("\n----------------------------------------------------------\n\t" +
                "应用 JWM 启动成功!" +
                "\n----------------------------------------------------------");
    }

}
